import { defineComponent, ref } from "vue";
export default defineComponent({
  props: {
    row: {
      type: Object,
    },
  },
  setup(props) {
    return () => (
      <>
        <div>
          页面：<span class="ls">{props.row.PagePermissionIdentification}</span>
          {props.row.parentMenuCode != 0 ? (
            <div class="d_i ml10">
              <span>
                删除 <span class="ls">{props.row.DeletePermissionID}</span>
              </span>
              <span class="ml10">
                查看 <span class="ls">{props.row.ViewPermissionID}</span>
              </span>
              <span class="ml10">
                编辑{" "}
                <span class="ls">{props.row.EditPermissionIdentifier}</span>
              </span>
              <span class="ml10">
                新增 <span class="ls">{props.row.NewPermissionIdentifier}</span>
              </span>
            </div>
          ) : (
            ""
          )}
        </div>
      </>
    );
  },
});
